<template>
  <dt-modal-info ref="info" title="线索来源渠道明细" :width="800">
    <div>
      <p style="margin-bottom: 10px;">该客户有多个线索来源渠道，以下为渠道推送明细</p>

      <dt-grid ref="table" :columns="columns" :list="channelData" :height="400" />
    </div>
  </dt-modal-info>
</template>

<script>
  import columnOpt from '../opt/clueChannelMoreColumns'
  import clueCustomerMgr from '@/biz/customer/clueCustomer.js'


  export default {
    data() {
      return {
        columns: columnOpt.options(this),
        channelData: []
      }
    },
    methods: {

      show(channelData) {
        this.$refs.info.show()
        this.channelData = channelData && JSON.parse(channelData)
        this.$refs.table.fetch()

      },


      hide() {
        this.$refs.info.hide()
      },

    }
  }
</script>

<style lang="scss" scoped>
</style>